package com.xxx.config.api;

import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import lombok.Data;

/**
 * 返回结果
 *
 * @version 1.0
 * @since 1.0
 */
@Data
@Produces(MediaType.APPLICATION_JSON)
public class ReturnResult {
    private String code = "200";
    private String msg = "success";

    public ReturnResult() {
        super();
    }

    public ReturnResult(String code ,String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ReturnResult(String msg) {
        this.msg = msg;
    }
}
